#ifndef perimeter_h
#define perimeter_h

#include "Arduino.h"
#include "controller.h"

class Perimeter : public Controller {
public:
  Perimeter(int pin);
  
  void setCommand(String command);
  boolean check();
  String getStatus();  
private:
  int _pin;
  boolean _isOn;
  boolean _alarm;
  boolean _alarmSent;
};

#endif


